package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;


@Table(name="alert_info_table")
public class AlertInfoTable extends BaseEntity<Long> {


	/**
	 * 
	 */
	private static final long serialVersionUID = 6611762117666052247L;

	@Id
	@Column(name="id")
	private Long id;
	
	@Column(name="insert_time")
	private Long insertTime;
	
	@Column(name="cluster_i_d")
	private String clusterID;
	
	@Column(name="level")
	private String level;

	@Column(name="alert_type")
	private String alertType;
	
	@Column(name="namespace")
	private String namespace;
	
	@Column(name="content")
	private String content;
	
	@Column(name="per_num")
	private Integer perNum;
	
	@Column(name="rule")
	private String rule;
	
	@Column(name="message")
	private String message;
	
	@Column(name="is_active")
	private Integer isActive;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Long insertTime) {
		this.insertTime = insertTime;
	}

	public String getClusterID() {
		return clusterID;
	}

	public void setClusterID(String clusterID) {
		this.clusterID = clusterID;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getAlertType() {
		return alertType;
	}

	public void setAlertType(String alertType) {
		this.alertType = alertType;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getPerNum() {
		return perNum;
	}

	public void setPerNum(Integer perNum) {
		this.perNum = perNum;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getIsActive() {
		return isActive;
	}

	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	
	
	
}
